package org.veloxbot.api.utils;

/**
 * @param <E> The element to filterize with.
 * @author Velox
 */
public interface Filter<E> {

	/**
	 * Checks if the filter accepted the given element.
	 *
	 * @param element The element to filterize with.
	 * @return <t>true</t> if the element was accepted, otherwise <t>false</t>.
	 */
	public boolean accept(final E element);
}
